from django.conf.urls.defaults import patterns, url
from mbook.views import book_index, book_detail

urlpatterns = patterns('',
    url(r'^(?P<book_id>\d+)/$', book_detail, name='book_detail'),
    url(r'^$', book_index, name='book_index'),
)
